package User;

import javax.json.bind.annotation.JsonbProperty;

@SuppressWarnings("unused")
public class Checkjson {
    @JsonbProperty("error")
    public int error;
    @JsonbProperty("message")
    public String message;
    @JsonbProperty("openid")
    public String openid;
    @JsonbProperty("access_token")
    public String access_token;
    @JsonbProperty("appsecret")
    public String appsecret;

    public Checkjson(){

    }
    public Checkjson(int error, String message, String open_id, String access_token, String appsecret) {
        this.error = error;
        this.message = message;
        this.openid = open_id;
        this.access_token = access_token;
        this.appsecret = appsecret;
    }
    public String getAppsecret() { return appsecret; }
    public void setAppsecret(String appsecret) { this.appsecret = appsecret; }

    public String getAccess_token() { return access_token; }
    public void setAccess_token(String access_token) { this.access_token = access_token; }

    public String getOpenid() { return openid; }
    public void setOpenid(String open_id) { this.openid = open_id; }


    public String getMessage() { return message; }
    public void setMessage(String message) { this.message = message; }


    public int getError() {
        return error;
    }
    public void setError(int error) {
        this.error = error;
    }
}
